package com.smart.campus.interfaces;

import com.smart.campus.dto.ShAttendanceDetails;
import com.smart.campus.pojo.PagedResponse;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.interfaces
 * @Author: 戴冰洁
 * @CreateTime: 2024-10-07  19:42
 * @Description: TODO
 * @Version: 1.0
 */
public interface ShAttendanceDetailsApi {
    @RequestMapping(value = "attend/findattendlist")
    public List<ShAttendanceDetails> findattendlist();
    @RequestMapping(value = "attend/addattend")
    public void addattend(@RequestBody ShAttendanceDetails shAttendanceDetails);
@RequestMapping(value = "attend/daleteattend")
    public void daleteattend(@RequestParam(value = "id") Integer id);
@RequestMapping(value = "attend/attendById")
    public PagedResponse<ShAttendanceDetails> attendById(@RequestBody ShAttendanceDetails shAttendanceDetails,@RequestParam(value = "pageSum") Integer pageSum,@RequestParam(value = "pageSize" ) Integer pageSize);
@RequestMapping(value = "attend/attenList")
    public ShAttendanceDetails attenList(@RequestParam(value = "id") Integer id);
@RequestMapping(value = "attend/updateattend")
    public void updateattend(@RequestBody ShAttendanceDetails shAttendanceDetails);
}
